package avicit.bdp.dgs.qa.dto;

import avicit.bdp.common.base.BaseDTO;
import avicit.platform6.core.annotation.log.FieldRemark;
import avicit.platform6.core.annotation.log.Id;
import avicit.platform6.core.annotation.log.LogField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @金航数码科技有限责任公司
 * @作者：developer
 * @邮箱：developer@avic-digital.com
 * @创建时间： 2023-07-04
 * @类说明：RuleVariableDTO
 * @修改记录：
 * @注意事项：
 * @主要功能：规则参数DTO
 */
@ApiModel(value = "RuleVariableDTO", description = "规则参数DTO")
@Table(name = "bdp_dgs_qa_rule_variable")
public class RuleVariableDTO extends BaseDTO {
    /**
     * 主键
     */
    @Id
    @LogField
    @ApiModelProperty(value = "主键")
    @FieldRemark(column = "id", field = "id", name = "主键")
    @javax.persistence.Id
    @Column(name = "id")
    private String id;

    /**
     * 规则ID
     */
    @LogField
    @ApiModelProperty(value = "规则ID")
    @FieldRemark(column = "ruleId", field = "ruleId", name = "规则ID")
    @Column(name = "rule_id")
    private String ruleId;

    /**
     * 规则对应的模板参数，Json串，实际类型为List<Arguement>
     */
    @LogField
    @ApiModelProperty(value = "规则对应的模板参数，Json串，实际类型为List<Arguement>")
    @FieldRemark(column = "arguementValue", field = "arguementValue", name = "规则对应的模板参数，Json串，实际类型为List<Arguement>")
    @Column(name = "arg_value")
    private String arguementValue;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRuleId() {
        return ruleId;
    }

    public void setRuleId(String ruleId) {
        this.ruleId = ruleId;
    }

    public String getArguementValue() {
        return arguementValue;
    }

    public void setArguementValue(String arguementValue) {
        this.arguementValue = arguementValue;
    }
}
